package routers

import (
	"github.com/astaxie/beego"
	"net/http"
)

// 静态文件处理(beego默认的静态文件存在内存泄漏问题)
func init() {
	beego.Handler("/static/*", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
}
